package com.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/* *
 * @Title:
 * @Author: vvSmile
 * @Date: 2025-04-11 14:25:12
 * @param null
 * @Description: TODO 专门和搜索服务交互的实体类
 */
@TableName(value = "course")
@Data
public class CourseDesc {
    /**
     *
     */
    @TableField(value = "course_id")
    private Long courseId;

    /**
     * 教师ID
     */
    @TableField(value = "teacher_id")
    private Long teacherId;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 封面OSS地址
     */
    @TableField(value = "details")
    private String details;

    /**
     * 分类ID
     */
    @TableField(value = "category_id")
    private Integer categoryId;

    /**
     * 价格
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 状态(0-未审核 1-已上架)
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 推荐权重
     */
    @TableField(value = "recommend_weight")
    private Integer recommendWeight;

    /**
     *
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 学习人数
     */
    @TableField("study_people")
    private Long studyPeople;

    /**
     * 课程标题图片
     */
    @TableField(value = "title_img")
    private String titleImg;

    /**
     * 课程内容1的图片
     */
    @TableField("content1_img")
    private String content1Img;

    /**
     * 课程内容2的图片
     */
    @TableField("content2_img")
    private String content2Img;

    /**
     * 课程内容3的图片
     */
    @TableField("content3_img")
    private String content3Img;

    /**
     * 课程内容4的图片
     */
    @TableField("content4_img")
    private String content4Img;
}